package io.adrainty.bolee.insurance.models.entity;

import io.adrainty.bolee.framework.commons.basic.BaseEntity;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/10 下午9:42
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "保障项")
public class SafeguardEntity extends BaseEntity {
    
    @Serial
    private static final long serialVersionUID = 6802261827540962607L;

    @Schema(description = "保障项key：mzyl")
    private String safeguardKey;

    @Schema(description = "保障项名称：门诊医疗")
    private String safeguardKeyName;

    @Schema(description = "保障项值")
    private String safeguardVal;

    @Schema(description = "保障项分类：0保障规则 1保障信息")
    private String safeguardType;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "备注")
    private String remake;

    @Schema(description = "批量操作：主键ID")
    private String[] checkedIds;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;
    
}
